import React, {PureComponent} from 'react';

import PropTypes from 'prop-types'
import {Echarts} from '../../widgets/echarts/components'
import screen from '../../utils/screen'

export default class extends PureComponent {
  static propTypes: {
    options: PropTypes.any,
    height: PropTypes.any
  }

  constructor(props) {
    super(props)
  }

  render() {
    const { options, height } = this.props;
    return (
      <Echarts option={options} height={height} />
    );
  }
}
